// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import './assets/styles/reset.css' // 这是引入的网上下载规范在所有浏览器中的样式
import './assets/styles/border.css' //解决移动端1像素问题
import './assets/styles/iconfont.css'
import 'swiper/swiper-bundle.css'


Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app', 
  router,
  components: { App }, // 定义一个App的局部组件
  template: '<App/>'
})
 
// 路由就是根据网址不同，返回不同内容给用户